import { userPostJson } from '@/api/apiTool'

//查询是否点赞某标注
export function hasFavTag(data, success, showMsg = false) {
    let url = "/front/Fav/hasFavTag"
    userPostJson(url, data, success, showMsg)
}

//标注点赞
export function addTagFav(data, success, showMsg = false) {
    let url = "/front/Fav/addTagFav"
    userPostJson(url, data, success, showMsg)
}

//取消赞
export function cancalTagFav(data, success, showMsg = false) {
    let url = "/front/Fav/cancalTagFav"
    userPostJson(url, data, success, showMsg)
}

//获取赞列表
export function getFavListByTag(data, success, showMsg = false) {
    let url = "/front/Fav/getFavListByTag"
    userPostJson(url, data, success, showMsg)
}